package io.renren.modules.yckj.dto;


import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * 用户资产记录
 *
 * @author Mark sunlightcs@gmail.com
 * @since 1.0.0 2025-04-27
 */
@Data
@Schema(title =  "用户资产记录")
public class AssetLogDTO implements Serializable {
    private static final long serialVersionUID = 1L;

	@Schema(title ="主键")
	private Long id;

	@Schema(title ="用户id")
	private Long userId;

	@Schema(title ="用户名称")
	private String username;

	@Schema(title ="金额")
	private BigDecimal amount;

	@Schema(title ="类型: 0收入，1支出")
	private Integer type;

	@Schema(title ="业务id")
	private Long businessId;

	@Schema(title ="类型：0用户充值，1组充值，2订单支付")
	private Integer businessType;

	@Schema(title ="备注")
	private String note;

	@Schema(title ="创建时间")
	private Date createTime;

	@Schema(title ="更新时间")
	private Date updateTime;


}